<template>
  <div>
     <h1>我是子组件</h1>
     <h1>父组件传来:{{language}}</h1>
     <h1>{{sonData}}</h1>
  </div>
</template>
<script>
export default {
  name: 'sonOne',
  data() {
    return {
      sonData:"我是子组件的数据哈哈哈哈哈",
      language:""
    }
  },
  methods:{
    say(lang){
      console.log("正在说"+lang)
      this.language=lang;
      
    }
  },
  mounted() {
 
  }
}
</script>